package com.xgc.server1;


import com.xgc.constant.ServerNameConstant;
import com.xgc.server1.fallback.Server1FeignFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = ServerNameConstant.SERVER_ONE,fallbackFactory = Server1FeignFallBack.class)
public interface Server1FeignClient {


	@GetMapping("/server1/test")
	String getValue(@RequestParam String doSomething);
}
